﻿namespace SPRepository
{
    public class UserFieldDto : LookupFieldDto
    {
        protected readonly string _sipAddress;
        protected readonly UserDto _user;

        public UserFieldDto(int lookupId, string lookupValue, string sipAddress, UserDto user)
            : base(lookupId, lookupValue)
        {
            _sipAddress = sipAddress;
            _user = user;
        }

        public string SipAddress
        {
            get { return _sipAddress; }
        }

        public UserDto User
        {
            get { return _user; }
        }
    }
}